package de.zefania.api;

import org.w3c.dom.Document;
/**
 * Transforms XML-Data to any output format (like HTML, PDF, ...)
 * @author Thomas
 *
 */
public interface Transformer {
	/**
	 * Transforms a list of W3C-Document objects to an output String.
	 * e.g. parallel view of a bible text
	 * @param document
	 * @return a String object
	 */
	public String transform(Document[] document);
	
	/**
	 * Transforms a single W3C-Document object to an output String
	 * @param document
	 * @return a String object
	 */
	public String transform(Document document);
}
